package com.lee.taste.spider.sohu.entity;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class Corporation implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8471794990661412600L;
	private String id;
	private String name;
	private String brandId;
	private String brandName;
	private String letter;
	
	public String getBrandId() {
		return brandId;
	}
	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}
	public String getBrandName() {
		return brandName;
	}
	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}
	public String getLetter() {
		return letter;
	}
	public void setLetter(String letter) {
		this.letter = letter;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public Corporation() {
		super();
	}
	
	public Corporation(String id, String name, String brandId,
			String brandName, String letter) {
		super();
		this.id = id;
		this.name = name;
		this.brandId = brandId;
		this.brandName = brandName;
		this.letter = letter;
	}
	public String toTruncateString(){
		return " truncate table sohu_car_corp ";
	}
	public String toInsertString() {
		return " insert into sohu_car_corp(`id`,`name`,`brand_id`,`brand_name`,`letter`) values ('" + id + "','" + name + "', '"
				+ brandId + "', '" + brandName + "', '" + letter
				+ "') ";
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
